package com.csw.bootstrapjqgrid;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * @author HIAPAD
 * @date 2019/10/30
 */
@SpringBootApplication
@MapperScan("com.csw.bootstrapjqgrid.dao")
public class BootstrapJqgridApplication extends SpringBootServletInitializer {
	public static void main(String[] args) {
		SpringApplication.run(BootstrapJqgridApplication.class, args);
	}

	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		return builder.sources(BootstrapJqgridApplication.class);
	}
}
